<%--
说明：登录日志 管理页面

@author liuxun 2012-04-06
--%>
<%@ include file="../../common/common.jsp"%>
<%
	response.setHeader("Pragma", "No-cache");
	response.setHeader("Cache-Control", "no-cache");
	response.setDateHeader("Expires", 0);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB2312" />
<meta http-equiv="Expires" content="0" />
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Pragma" content="no-cache" />

<title>登录日志管理</title>
<script src="jsp/audit/e_login_log/e_login_log_index.js" type="text/javascript" charset="UTF-8"></script>
</head>

<body >

<div region="north" style="height:100%; border: 0px;">

	<form id="opeForm" name="opeForm" method="post"> 
	<input type="hidden" id="blurquery" name="modelMap.blurquery" value="1"/>
	  <div id="tabs" class="easyui-tabs" fit="true" style="width:100%; height:100%;">
	  
	    <div title="登录日志" icon="icon-sys" style="height: 100%; overflow: auto">
	      <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
	        <tr>
	          <td>
	            <table border=0 cellpadding=2 cellspacing=0 width="100%" class="queryTable">
	              <tr class="queryTR">
	                <td align="right" valign="middle" nowrap="nowrap">统一登录名：</td>
	                <td align="left" valign="middle" nowrap="nowrap">
	                	<input type="text" id="login_name" name="modelMap.login_name" class="inputText" /> &nbsp;
	                </td>
	
	                <td align="right" valign="middle" nowrap="nowrap">节点 IP：</td>
	                <td align="left" valign="middle" nowrap="nowrap">
	                	<input type="text" id="node_ip" name="modelMap.node_ip" class="inputText" /> &nbsp;
	                </td>

					<td align="right" valign="middle" nowrap="nowrap">登入时间：</td>
              		<td align="left" valign="middle" nowrap="nowrap">
              		
              			<input type="text" id="begin_time" readonly="readonly" name="modelMap.begin_time" required=""  value="${modelMap.begin_time}" class="easyui-validatebox  editMainText" maxlength=19 style="width: 140px"/> 
              			<img src="<c:url value="/images/datetimepicker_css/cal.gif" />" onclick="javascript:NewCssCal ('begin_time','yyyyMMdd','dropdown',true,'24',true)" style="cursor: pointer" />
                          
              		</td>					
	
	                <td align="left" valign="middle" nowrap="nowrap">
	                	&nbsp;&nbsp;<a href="javascript:void(0)" id="queryBtn" name="queryBtn" icon="icon-search" class="easyui-linkbutton">查询</a>
	                </td>
	                <td align="right" valign="middle" width="100%">
	                	<a href="#" id="reloadBtn" class="easyui-linkbutton" plain="true" icon="icon-reload">刷新&nbsp;</a>
	                	&nbsp;<img onclick="showHelpWin('audit/e_login_log/e_login_log');" style="cursor: hand" title="联机帮助" src="<c:url value="/images/eclipse/help.gif" />" />
	                </td>
	              </tr>
	              <tr class="queryTR">
	                <td align="right" valign="middle" nowrap="nowrap">用户姓名：</td>
	                <td align="left" valign="middle" nowrap="nowrap">
	                	<input type="text" id="usr_name" name="modelMap.usr_name" class="inputText" /> &nbsp;
	                </td>
	
	                <td align="right" valign="middle" nowrap="nowrap">客户端 IP：</td>
	                <td align="left" valign="middle" nowrap="nowrap">
	                	<input type="text" id="client_ip" name="modelMap.client_ip" class="inputText" /> &nbsp;
	                </td>
				    <td align="right" valign="middle" nowrap="nowrap">登出时间：</td>
		            <td align="left" valign="middle" nowrap="nowrap">
		              
		              <input type="text" id="end_time" readonly="readonly" name="modelMap.end_time" required=""  value="${modelMap.end_time}" class="easyui-validatebox  editMainText" maxlength=19 style="width: 140px"/> 
		              <img src="<c:url value="/images/datetimepicker_css/cal.gif" />" onclick="javascript:NewCssCal ('end_time','yyyyMMdd','dropdown',true,'24',true)" style="cursor: pointer" />
		               
		            </td>
	                <td align="left" valign="middle" nowrap="nowrap">
	                	&nbsp;&nbsp;<a href="javascript:void(0)" id="clearBtn" name="clearBtn" icon="icon-cancel" class="easyui-linkbutton">清空</a>
	                </td>
	                <td align="right" valign="middle" nowrap="nowrap">
	                	<a href="#" id="genReportBtn" class="easyui-linkbutton" plain="true" icon="icon-print">生成报表</a>
	                </td>
	              </tr>	              
	            </table>
	          </td>
	        </tr>
	        <tr style="height: 100%">
	          <td>
	            <table id="loginLogTable"></table>
	          </td>
	        </tr>
	      </table>
	    </div>
	
	    <div title="会话日志">
	      <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
	        <tr>
	          <td>
	          <%-- 
	          	临时注销掉，
					发现后台的传递参数的时候不太知道是谁因为什么原因给注销掉了，导致目前打印报表的时候数据不准确，
					如：明明查询出五条记录，结果全部打印出来了。
					后续再查找原因
	            <table border=0 cellpadding=2 cellspacing=0 width="100%" class="queryTable">
	              <tr class="queryTR">
	              
	                <td align="right" valign="middle" nowrap="nowrap">资源名称：</td>
	                <td align="left" valign="middle" nowrap="nowrap">
	                	<input type="text" id="login_name" name="model.login_name" class="inputText" /> &nbsp;
	                </td>
	
	                <td align="right" valign="middle" nowrap="nowrap">开始时间：</td>
	                <td align="left" valign="middle" nowrap="nowrap">
	                	<input type="text" id="begin_time" readonly="readonly" name="model.begin_time" required=""  value="${model.begin_time}" class="easyui-validatebox  editMainText" maxlength=19 style="width: 140px"/> 
              			<img src="<c:url value="/images/datetimepicker_css/cal.gif" />" onclick="javascript:NewCssCal ('begin_time','yyyyMMdd','dropdown',true,'24',true)" style="cursor: pointer" />
                        
              		</td>					
	
	                <td align="left" valign="middle" nowrap="nowrap">
	                	&nbsp;&nbsp;<a href="javascript:void(0)" id="queryBtnSession" name="queryBtnSession" icon="icon-search" class="easyui-linkbutton">查询</a>
	                </td>
	                <td align="right" valign="middle" width="100%">
	                	<a href="#" id="reloadBtn" class="easyui-linkbutton" plain="true" icon="icon-reload">刷新&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>
	                	<a href="#" id="genReportBtnSession" class="easyui-linkbutton" plain="true" icon="icon-print">生成报表</a>
	                </td>
	              </tr>
	              
	              <tr class="queryTR">
	                <td align="right" valign="middle" nowrap="nowrap">账号名：</td>
	                <td align="left" valign="middle" nowrap="nowrap">
	                	<input type="text" id="usr_name" name="model.usr_name" class="inputText" /> &nbsp;
	                </td>
	
				    <td align="right" valign="middle" nowrap="nowrap">结束时间：</td>
		            <td align="left" valign="middle" nowrap="nowrap">
		              
		              <input type="text" id="end_time" readonly="readonly" name="model.end_time" required=""  value="${model.end_time}" class="easyui-validatebox  editMainText" maxlength=19 style="width: 140px"/> 
		              <img src="<c:url value="/images/datetimepicker_css/cal.gif" />" onclick="javascript:NewCssCal ('end_time','yyyyMMdd','dropdown',true,'24',true)" style="cursor: pointer" />
		               
		            </td>
	                <td align="left" valign="middle" nowrap="nowrap">
	                	&nbsp;&nbsp;<a href="javascript:void(0)" id="clearBtnSession" name="clearBtnSession" icon="icon-cancel" class="easyui-linkbutton">清空</a>
	                </td>
	                <td align="right" valign="middle" nowrap="nowrap">
	                	<a href="#" id="genReportBtn" class="easyui-linkbutton" plain="true" icon="icon-print">生成报表</a>
	                </td>
	              </tr>	
	                           
	            </table>
	          </td>
	          --%> 
	        </tr>	      
	        <tr height="100%">
	          <td>
	            <table id="sessionLogTable"></table>
	          </td>
	        </tr>
	      </table>
	    </div>
	
	    <div title="命令日志">
	      <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
	        <tr>
	          <td>
	            <table border=0 cellpadding=2 cellspacing=0 width="100%" class="queryTable">
	
				<%-- 
					临时注销掉，
					发现后台的传递参数的时候不太知道是谁因为什么原因给注销掉了，导致目前打印报表的时候数据不准确，
					如：明明查询出五条记录，结果全部打印出来了。
					后续再查找原因
	              <tr class="queryTR">
	                <td align="right" valign="middle" width="100%">
	                	<a href="#" id="genReportBtnCmd" class="easyui-linkbutton" plain="true" icon="icon-print">生成报表</a>
	                </td>
	              </tr>				
				 --%>
         
	            </table>
	          </td>
	        </tr>	      
	        <tr height="100%">
	          <td>
	            <table id="cmdLogTable"></table>
	          </td>
	        </tr>
	      </table>
	    </div>
	
	  </div>
	
	</form>		

</div>
</body>
</html>
